Add support for building Python 3.13 wheels #249
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added new tasks to the build matrix to support building Python 3.13 wheels.
Currently, building the wheel is successful in Github Actions, but running the tests fails (See run on my branch here). I've identified that the source of the failures is not due to any issues actually failing with the unit tests, but actually is due to the fact that
scikit-image
does not yet have release builds that support Python 3.13 (See scikit-image/scikit-image#7596). When I install the pre-release builds forscikit-image
on my computer, and run unit tests manually, the unit tests all pass.Until
scikit-image
has an official release of 0.25, which will add Python 3.13 support, I'm going to leave this pull request in a draft state. Once there is an official release, I will change that.Note: I have made no effort to add free-threading support to this module. There's a guide here that may be useful.